package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 职员档案对象 employees
 * 
 * @author ruoyi
 * @date 2025-10-16
 */
public class Employees extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 职员编码 */
    private String empId;

    /** 职员名称 */
    @Excel(name = "职员名称")
    private String empName;

    /** 工号 */
    @Excel(name = "工号")
    private String empNo;

    /** 工序 */
    @Excel(name = "工序")
    private String empProcess;

    /** 岗位 */
    @Excel(name = "岗位")
    private String position;

    /** 部门编码 */
    @Excel(name = "部门编码")
    private String deptId;

    /** 在职状态 */
    @Excel(name = "在职状态")
    private Boolean status;

    /** 入职时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "入职时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date joinDate;

    /** 性别 */
    @Excel(name = "性别")
    private String sex;

    /** 邮箱 */
    @Excel(name = "邮箱")
    private String email;

    /** 手机号 */
    @Excel(name = "手机号")
    private String phone;

    /** 生日 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "生日", width = 30, dateFormat = "yyyy-MM-dd")
    private Date birthDate;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdAt;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createdPerson;

    public void setEmpId(String empId) 
    {
        this.empId = empId;
    }

    public String getEmpId() 
    {
        return empId;
    }

    public void setEmpName(String empName) 
    {
        this.empName = empName;
    }

    public String getEmpName() 
    {
        return empName;
    }

    public void setEmpNo(String empNo) 
    {
        this.empNo = empNo;
    }

    public String getEmpNo() 
    {
        return empNo;
    }

    public void setEmpProcess(String empProcess) 
    {
        this.empProcess = empProcess;
    }

    public String getEmpProcess() 
    {
        return empProcess;
    }

    public void setPosition(String position) 
    {
        this.position = position;
    }

    public String getPosition() 
    {
        return position;
    }

    public void setDeptId(String deptId) 
    {
        this.deptId = deptId;
    }

    public String getDeptId() 
    {
        return deptId;
    }

    public void setStatus(Boolean status) 
    {
        this.status = status;
    }

    public Boolean getStatus() 
    {
        return status;
    }

    public void setJoinDate(Date joinDate) 
    {
        this.joinDate = joinDate;
    }

    public Date getJoinDate() 
    {
        return joinDate;
    }

    public void setSex(String sex) 
    {
        this.sex = sex;
    }

    public String getSex() 
    {
        return sex;
    }

    public void setEmail(String email) 
    {
        this.email = email;
    }

    public String getEmail() 
    {
        return email;
    }

    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }

    public void setBirthDate(Date birthDate) 
    {
        this.birthDate = birthDate;
    }

    public Date getBirthDate() 
    {
        return birthDate;
    }

    public void setCreatedAt(Date createdAt) 
    {
        this.createdAt = createdAt;
    }

    public Date getCreatedAt() 
    {
        return createdAt;
    }

    public void setCreatedPerson(String createdPerson) 
    {
        this.createdPerson = createdPerson;
    }

    public String getCreatedPerson() 
    {
        return createdPerson;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("empId", getEmpId())
            .append("empName", getEmpName())
            .append("empNo", getEmpNo())
            .append("empProcess", getEmpProcess())
            .append("position", getPosition())
            .append("deptId", getDeptId())
            .append("status", getStatus())
            .append("joinDate", getJoinDate())
            .append("sex", getSex())
            .append("email", getEmail())
            .append("phone", getPhone())
            .append("birthDate", getBirthDate())
            .append("createdAt", getCreatedAt())
            .append("createdPerson", getCreatedPerson())
            .toString();
    }
}
